package com.itheima.youdianda.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * @Author
 */
@Data
@ApiModel("")
public class YddCate implements Serializable {
    @ApiModelProperty("编号")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("名称")
    private String catename;

    //字段图标class
    @ApiModelProperty("字段图标class")
    private String icon;

    //排序数字
    @ApiModelProperty("排序数字")
    @JsonProperty("sort_num")
    private Integer sortNum;

    //是否为默认数据null为不是，1表示是
    @ApiModelProperty("是否为默认数据")
    @JsonProperty("default_data")
    private String defaultData;
}
